package zzc.javaWeb.javaWebHomew.dao;

import zzc.javaWeb.javaWebHomew.pojo.LoginBean;
import zzc.javaWeb.javaWebHomew.pojo.PageBean;
import zzc.javaWeb.javaWebHomew.pojo.UserBean;

import java.sql.SQLException;
import java.util.List;

public interface homeDao {

    //登录注册模块接口
    int tologinUser(LoginBean user) throws SQLException;

    int addloginUser(LoginBean user) throws SQLException;
    //分页查询接口
    int findTotalCount() throws SQLException;
    //home插入学生数据
    int addhomePage (UserBean userBean) throws  SQLException;
    List<UserBean> findByPage(PageBean pageBean) throws SQLException;
}
